package com.luoc.mybatis.mapper;

import com.luoc.mybatis.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper  {

    List<User> list();

    User selectById(Integer id);

    void insert(User user1);

    List<User> findUserCondition(@Param("name") String name,@Param("age")  int age,@Param("password")  String password,@Param("tableName") String tableName,@Param("roleId") String roleId);

}